// =====================================================================
// <copyright file="EntityValidationType.cs" author="David R. Guindo">
// 	Copyright (C) 2013. All rights reserved.
// </copyright>
// =====================================================================
// This code is released under the terms of the Apache 2.0 license, 
// http://apache.org/licenses/LICENSE-2.0.html
// =====================================================================

namespace AppBlock.Core.Validations
{
    using System;
    using System.Runtime.Serialization;

    /// <summary>
    /// </summary>
    [DataContract]
    [Serializable]
    public enum ValidationType
    {
        /// <summary>
        /// </summary>
        [EnumMember] Generic = 0,

        /// <summary>
        /// </summary>
        [EnumMember] InvalidIdentifier = 1,

        /// <summary>
        /// </summary>
        [EnumMember] InvalidValue = 3,

        /// <summary>
        /// </summary>
        [EnumMember] RequiredValue = 2,

        /// <summary>
        /// </summary>
        [EnumMember] ValueExceeded = 4,

        /// <summary>
        /// </summary>
        [EnumMember] InvalidMinValue = 5,

        /// <summary>
        /// </summary>
        [EnumMember] NotInRange = 6,

        /// <summary>
        /// </summary>
        [EnumMember] Empty = 7
    }
}